package com.epalmpay.controller.channel.datareport;

import com.epalmpay.commom.BaseController;
import com.epalmpay.dto.datareport.GroupWelcomeDataOutDTO;
import com.epalmpay.service.datareport.IGroupStatisticService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by lifayi on 2017/6/13.
 */
@RestController
@RequestMapping("/merchant/statistic")
public class GroupStatisticController  extends BaseController{

    @Autowired
    private IGroupStatisticService groupStatisticServiceImpl;

    @RequestMapping("/index")
    public GroupWelcomeDataOutDTO index(@RequestBody Long id) {
        return groupStatisticServiceImpl.index(id);
    }
}
